package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 秋晚
 * @Date:  2025/7/10 10:49
 * @Description: 
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_record")
public class Record {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 报修Id
     */
    @TableField(value = "repairs_id")
    private Long repairsId;

    /**
     * 报修人
     */
    @TableField(value = "repairs_user")
    private String repairsUser;

    /**
     * 1待受理 2已受理(未派单) 3已受理(已派单) 4已返回 5已完工
     */
    @TableField(value = "record_status")
    private Integer recordStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "order_username")
    private String orderUsername;

    @TableField(value = "record_remarks")
    private String recordRemarks;

}